package data.book;

import java.util.Comparator;

import po.BookPO;

public class SalesComparator implements Comparator<BookPO>{

	@Override
	public int compare(BookPO book_one, BookPO book_two) {	
		return book_one.getSalesAmount()
				-book_two.getSalesAmount();
	}

}
